<template>
  <div>
    <van-nav-bar @click-left="back" >
      <template #left>
        <van-icon name="arrow-left"
          size="20">返回</van-icon>
      </template>
    </van-nav-bar>
    <register></register>
  </div>
</template>

<script>
import register from './my/register.vue'
// import { setItem } from '@/utils/index.js'
export default {
  components: {
    register
  },
  data () {
    return {
      isShowTab: false
    }
  },
  created () {
    this.$store.commit('getShowTab', false)
    this.$store.commit('getCurrentMusic', {})
    // setItem('play-music', '')
  },
  methods: {
    back () {
      console.log('返回')
      this.$router.push('/my')
    }
  }
}

</script>

<style lang="less" scoped>

</style>
